package com.un.ebs.sale.domain;

import com.un.ebs.contract.enums.ContractTypeEnum;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (FinanceBySaleExt)表实体类
 *
 * @author liubo
 * @since 2021-01-04 08:52:25
 */
@Data
@Component
@TableName("v_finance_by_sale_ext")
@SuppressWarnings("serial")
public class FinanceBySaleExt extends Model<FinanceBySaleExt> {


    @DbField(name = "tenant_id", length = 40, precision = 0)
    private String tenantId;

    @DbField(name = "account_year", length = -1, precision = 0)
    private Integer accountYear;

    @DbField(name = "account_month", length = -1, precision = 0)
    private Integer accountMonth;

    @DbField(name = "note_type_name", length = 100, precision = 0)
    private String noteTypeName;

    @DbField(name = "note_type", length = -1, precision = 0)
    private Integer noteType;

    @DbField(name = "type", length = -1, precision = 0)
    private Integer type;

    @DbField(name = "type_desc", length = 8, precision = 0)
    private String typeDesc;

    @DbField(name = "cost_money", length = 38, precision = 10)
    private Double costMoney;

    @DbField(name = "production_cost_money", length = 38, precision = 10)
    private Double productionCostMoney;

    @DbField(name = "purchase_cost_money", length = 38, precision = 10)
    private Double purchaseCostMoney;


}